home *** CD-ROM | disk | FTP | other *** search
/ IRIX Installation Tools & Overlays 2002 May / SGI IRIX Installation Tools & Overlays 2002 May - Disc 3.iso / relnotes / dps_eoe / ch5.z / ch5
Text File  |  2002-04-11  |  8KB  |  199 lines

  1.  
  2.  
  3.  
  4.                                   - 1 -
  5.  
  6.  
  7.  
  8.        5.  _S_i_l_i_c_o_n _G_r_a_p_h_i_c_s-_S_p_e_c_i_f_i_c _B_e_h_a_v_i_o_r _o_f _D_i_s_p_l_a_y
  9.            _P_o_s_t_S_c_r_i_p_t/_X
  10.  
  11.        This version of DPS/X (DPS Extension) supports CID Keyed
  12.        fonts transparently. Hence, all DPS/X clients are able to
  13.        handle CID keyed fonts requests. CID outline fonts and
  14.        related CMap files are available from the following
  15.        subsystems:
  16.  
  17.        WWWWoooorrrrllllddddVVVViiiieeeewwww____ffffoooonnnnttttssss____kkkkrrrr          Korean CID outline fonts and
  18.                                    related CMap files.
  19.  
  20.        WWWWoooorrrrllllddddVVVViiiieeeewwww____ffffoooonnnnttttssss____jjjjpppp          Japanese CID outline fonts from
  21.                                    Heisei and related CMap files.
  22.  
  23.        WWWWoooorrrrllllddddVVVViiiieeeewwww____ffffoooonnnnttttssss____jjjjpppp1111         Japanese CID outline fonts from
  24.                                    Bitstream and related CMap
  25.                                    files.
  26.  
  27.        WWWWoooorrrrllllddddVVVViiiieeeewwww____ffffoooonnnnttttssss____ttttwwww          Traditional Chinese CID outline
  28.                                    fonts and related CMap files.
  29.  
  30.        WWWWoooorrrrllllddddVVVViiiieeeewwww____ffffoooonnnnttttssss____ccccnnnn          Simplified Chinese CID outline
  31.                                    fonts and related CMap files.
  32.  
  33.        If DPS or Impressario does not recognize the above installed
  34.        CID fonts, run _m_a_k_e_c_i_d_r_e_s in root. _m_a_k_e_c_i_d_r_e_s recreates the
  35.        CID database file: /usr/lib/DPS/CID.upr.
  36.  
  37.        DPS looks for PostScript resources like fonts, forms in a
  38.        default directory: /_u_s_r/_l_i_b/_D_P_S. If you use program like
  39.        _A_d_o_b_e _T_y_p_e_I_n_s_t_a_l_l_e_r that installs PostScript resources into
  40.        a directory other than the default directory, then the
  41.        following steps need to be taken so that DPS will recognize
  42.        those resources.
  43.  
  44.        Insert this line: _e_n_v _P_S_R_E_S_O_U_R_C_E_P_A_T_H
  45.        _a_l_t_e_r_n_a_t_e__r_e_s_o_u_r_c_e__d_i_r:: into /usr/bin/X11/X as such:
  46.  
  47.        #! /bin/sh
  48.        #
  49.        #  /usr/bin/X11/X
  50.        #  initialize graphics device and start X Window System
  51.        #  $Revision: 1.4 $
  52.        #
  53.        glGammaFile=/etc/config/system.glGammaVal
  54.        glGammaDefault="1.7"
  55.        if /etc/chkconfig windowsystem; then
  56.         if [ -x /usr/gfx/gfxinit ]; then
  57.         # need to extract potential -boards argument to give to
  58.        gfxinit.
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.                                   - 2 -
  71.  
  72.  
  73.  
  74.         for i in $* ; do
  75.        if [ $next ] ; then brdargs="-boards $i"; break; fi;
  76.        if [ $i = "-boards" ] ; then next=true; fi;
  77.         done
  78.         /usr/gfx/gfxinit $brdargs
  79.         if [ -r $glGammaFile -a -s $glGammaFile ] ; then
  80.         glGamma=`cat $glGammaFile`
  81.        else
  82.         glGamma=$glGammaDefault
  83.        fi
  84.        /etc/chkconfig debugxserver
  85.         if [ $? = 0 -a -x /usr/bin/X11/Xsgi_d -a -d
  86.        /usr/lib/X11/dyDDXdebug ] ; then
  87.            exec /usr/bin/X11/Xsgi_d $* -core -ddxdir
  88.        /usr/lib/X11/dyDDXdebug -gamma $glGamma
  89.         else
  90.         if [ -x /usr/bin/X11/Xsgi ]; then
  91.          exec _e_n_v _P_S_R_E_S_O_U_R_C_E_P_A_T_H _a_l_t_e_r_n_a_t_e__r_e_s_o_u_r_c_e__d_i_r::
  92.        /usr/bin/X11/Xsgi $* -gamma $glGamma
  93.          else
  94.          echo "X: /usr/bin/X11/Xsgi not available"
  95.         fi
  96.        fi
  97.  
  98.        Notes: Do not put newline before and after _e_n_v
  99.        _P_S_R_E_S_O_U_R_C_E_P_A_T_H _a_l_t_e_r_n_a_t_e__r_e_s_o_u_r_c_e__d_i_r::.
  100.        _a_l_t_e_r_n_a_t_e__r_e_s_o_u_r_c_e__d_i_r is the alternate directory where the
  101.        PostScript resources are located. Do not leave out the
  102.        double colon after _a_l_t_e_r_n_a_t_e__r_e_s_o_u_r_c_e__d_i_r. Make a copy of
  103.        /usr/bin/X11/Xsgi before making the above modification.
  104.  
  105.        DPS/X is dynamically loaded into the X server when the first
  106.        DPS/X extension request is made (that is, when the first
  107.        DPS/X application is launched).  It remains loaded until the
  108.        server is reset.
  109.  
  110.        DPS/X creates a 4x4x4-cell colorcube and an 8-cell gray-ramp
  111.        in the standard colormap.  These colors can be ``swapped-
  112.        out'' when applications that use a nonstandard colormap
  113.        (such as GL applications) receive focus (just as their cells
  114.        can be ``swapped-out'' when another X or DPS/X application
  115.        receives focus).  Although colors in a window that does not
  116.        have input focus might look wrong, this is the correct
  117.        behavior and ensures that the window with focus always shows
  118.        the correct colors.
  119.  
  120.        The current version of _s_h_o_w_p_s is more flexible in terms of
  121.        color management. Please refer to the _s_h_o_w_p_s man pages and
  122.        the postscript documents _S_h_o_w_P_S _U_s_e_r _G_u_i_d_e
  123.        (ShowPSUserGuide.ps) and _S_h_o_w_P_S _R_e_f_e_r_e_n_c_e _C_a_r_d
  124.        (ShowPSReferenceCard.ps) - both in /usr/lib/DPS/doc. _s_h_o_w_p_s
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.                                   - 3 -
  137.  
  138.  
  139.  
  140.        can be used to view these documents on-line.
  141.  
  142.        Note to Frame 4.0 users:
  143.  
  144.        1) If the X server's default visual is TrueColor, Frame 4.0
  145.        renders EPS images as grayed boxes (the contents are not
  146.        visible).
  147.        2) If the X server's default visual is 12-bit PseudoColor,
  148.        rendering EPS images will cause Frame 4.0 to crash.
  149.  
  150.        The workaround for both of these problems is to set the X
  151.        Server's default visual to 8-bit PseudoColor by editing the
  152.        file /usr/lib/X11/xdm/Xservers.
  153.  
  154.        Some postscript documents specify incremental definitions of
  155.        Type 3 glyphs without abiding by the following rules:
  156.  
  157.        1) Unused positions in the encoding must be filled with
  158.        /.notdef.
  159.        2) The font must contain a glyph named /.notdef.
  160.  
  161.        For example, _d_v_i_2_p_s _v_e_r. _3._1 is a driver that generates such
  162.        documents. Using _s_h_o_w_p_s on these documents will result in
  163.        unreadable text.  A workaround is to run _f_i_l_t_e_r_p_s to correct
  164.        the documents generated by _d_v_i_2_p_s _v_e_r. _3._1 or _f_i_l_t_e_r_p_s._f_i_x_T_3
  165.        to switch off Type 3 font caching in the document.
  166.  
  167.        The PostScript operator _s_e_l_e_c_t_f_o_n_t substitutes the Courier
  168.        font if the requested font is not found.
  169.  
  170.        Normally Display PostScript/X uses prebuilt fonts (hand-
  171.        tuned-bitmaps versus outline-rendering), but due to a bug
  172.        this type of font rendering has been disabled. In future
  173.        releases of DPS/X, SGI will either correct the problem with
  174.        prebuilt fonts or provide comparable bitmap fonts such as X
  175.        portable compiled fonts(pcf fonts).
  176.  
  177.        All PostScript program file operators execute in the IRIX
  178.        file system relative to /, the root directory.  The string
  179.        ``..'' is prohibited in filenames.
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.